﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.sendine.com/schemas/sendine.web/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="sendine.web">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="router-config">
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="unbounded" name="domain">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element maxOccurs="unbounded" name="rule">
                      <xs:complexType>
                        <xs:attribute name="regex" type="xs:string" use="optional" />
                        <xs:attribute name="target" type="xs:string" use="optional" />
                        <xs:attribute name="validator" type="xs:string" use="optional" />
                        <xs:attribute name="assembly" type="xs:string" use="optional" />
                        <xs:attribute name="replacement" type="xs:string" use="optional" />
                        <xs:attribute name="trim" type="xs:string" use="optional" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="name" type="xs:string" use="required" />
                  <xs:attribute name="port" type="xs:string" use="required" />
                  <xs:attribute name="bound" type="xs:string" use="required" />
                </xs:complexType>
              </xs:element>
              <xs:element name="property" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:simpleContent>
                    <xs:extension base="xs:string">
                      <xs:attribute name="name" type="xs:string" use="required" />
                    </xs:extension>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>